package com.training1.core.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.validation.constraints.Past;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.training1.core.common.entity.DataEntity;

@Alias("DelayMoney")
public class DelayMoneyEntity extends DataEntity{

	private static final long serialVersionUID = -8905184783809415670L;
	
	private String customerName;
	
	private String phone;
	
	private BigDecimal principal;//合同本金
	
	private BigDecimal serFee;//服务费率

	@Past
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date secInsDate;//二审日期(合同生效日期)
	
	private int approvalCyc;//合同期数(审批期数)
	
	private BigDecimal delayAmount;//应收延迟服务费
	
	private BigDecimal sumAmount;//合计延迟服务费
	
	private BigDecimal aceAmount;//已收延迟服务费
	
	private List<DelayMoneyListEntity> delyaMoneyList;
	
	

	public BigDecimal getSumAmount() {
		return sumAmount;
	}

	public void setSumAmount(BigDecimal sumAmount) {
		this.sumAmount = sumAmount;
	}

	public BigDecimal getAceAmount() {
		return aceAmount;
	}

	public void setAceAmount(BigDecimal aceAmount) {
		this.aceAmount = aceAmount;
	}

	public List<DelayMoneyListEntity> getDelyaMoneyList() {
		return delyaMoneyList;
	}

	public void setDelyaMoneyList(List<DelayMoneyListEntity> delyaMoneyList) {
		this.delyaMoneyList = delyaMoneyList;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public BigDecimal getPrincipal() {
		return principal;
	}

	public void setPrincipal(BigDecimal principal) {
		this.principal = principal;
	}

	public BigDecimal getSerFee() {
		return serFee;
	}

	public void setSerFee(BigDecimal serFee) {
		this.serFee = serFee;
	}

	public Date getSecInsDate() {
		return secInsDate;
	}

	public void setSecInsDate(Date secInsDate) {
		this.secInsDate = secInsDate;
	}

	public int getApprovalCyc() {
		return approvalCyc;
	}

	public void setApprovalCyc(int approvalCyc) {
		this.approvalCyc = approvalCyc;
	}

	public BigDecimal getDelayAmount() {
		return delayAmount;
	}

	public void setDelayAmount(BigDecimal delayAmount) {
		this.delayAmount = delayAmount;
	}


	
}